if @rec="HEAD"
  use _Unknown_
else
  ! static text with level and tab
  NewLine
  cell static

  ! leave room for change button
  #buttonWidth=100


  if #msg="url"
    set text "URL:"
    set tabwidth -1 alignment right

    hskip 0
    #edge=#rightMargin$-#rightSkip-#cellSkip-#buttonWidth

    cell EditFile
    set autoreload yes
    set Width #edge-#hpos$
    help local("Edit the URL for this web site link")
    #btnHelp="Click to change URL or convert to a multimedia file link"
  else
    #tlabel=local(@tag)
    set text #tlabel&":"
    set offset 1
    help #tlabel
    set tabwidth -1 alignment right

    hskip 0
    #edge=#rightMargin$-#rightSkip-#cellSkip-#buttonWidth

    cell LinkButton,@contents
    if #msg=""
      #msg="?"
    endif
    if #msg1=""
      set text " ("&local("Kind")&": "&#msg&")"
    else
      set text " ("&local("Kind")&": "&#msg&"     "&local("Type")&": "&#msg1&")"
    endif
    set border none font "Static Text" alignment left
    set Width #edge-#hpos$
    MenuLink "Attach Multimedia"
    help local("File path; click to change it")
    #btnHelp="Click to change the file path, file kind, or convert to a URL link"
  endif

  cell LinkButton
  set text local("Change")&"..."
  set border shadowlesssquare width -1
  MenuLink "Attach Multimedia"
  help local(#btnHelp)
endif
